import request from '@/utils/request'

// 添加文章
export const addArticleAPI = fd => {
  return request.post('/my/article/add', fd)
  // return request
}

// 获取文章列表数据
export const getArticleAPI = params => {
  return request.get('/my/article/list', { params: params })
  // return request({
  //   methods: 'GET',
  //   url: '/my/article/list',
  //   params: params
  // })
}
